package com.wss.day01;

import java.sql.SQLOutput;

/**
 * @author wangshaoshuai
 * @desc TODO
 * @date 2025/4/21
 */
public class ResultTset {
    public static void main(String[] args) {
        System.out.println("-------------无参构造方法----------------");
        Result res1 = new Result();
        res1.setJava(11.2F);
        res1.setC(12.8F);
        res1.setDatabase(18.2F);
        res1.average();
        res1.all();

        System.out.println("-------------有参构造方法----------------");
        Result res2 = new Result(11.2F, 12.8F, 18.2F);
        res2.average();
        res2.all();
    }
}
